package com.example.test2.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

// TODO: 2024/5/25 商品
@Entity
public class Clothes implements Serializable {

    private static final long serialVersionUID = -3206065828593806735L;

    @Id(autoincrement = true)//设置自增长
    private Long id;
    private String name;
    private String type;
    private String price;
    private String path;
    private String msg;
    private String shopName;
    private String phone;
    private String view;
    private String address;
    private String safeguard;//保障
    private boolean userAdd;//
    private String cost;
    public Clothes(String name, String type, String price, String msg, String shopName,
                   String phone, String view, String address, String safeguard, String cost) {
        this.name = name;
        this.type = type;
        this.price = price;
        this.msg = msg;
        this.shopName = shopName;
        this.phone = phone;
        this.view = view;
        this.address = address;
        this.safeguard = safeguard;
        this.cost = cost;
    }


    @Generated(hash = 1226566953)
    public Clothes(Long id, String name, String type, String price, String path, String msg,
                   String shopName, String phone, String view, String address, String safeguard,
                   boolean userAdd, String cost) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.price = price;
        this.path = path;
        this.msg = msg;
        this.shopName = shopName;
        this.phone = phone;
        this.view = view;
        this.address = address;
        this.safeguard = safeguard;
        this.userAdd = userAdd;
        this.cost = cost;
    }


    @Generated(hash = 598043442)
    public Clothes() {
    }

    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getPrice() {
        return this.price;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    public String getMsg() {
        return this.msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public String getShopName() {
        return this.shopName;
    }
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getView() {
        return this.view;
    }
    public void setView(String view) {
        this.view = view;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getSafeguard() {
        return this.safeguard;
    }
    public void setSafeguard(String safeguard) {
        this.safeguard = safeguard;
    }

    public boolean getUserAdd() {
        return this.userAdd;
    }

    public void setUserAdd(boolean userAdd) {
        this.userAdd = userAdd;
    }

    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getCost() {
        return this.cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }


}